package com.wuneng.commonlibrary.base;

import android.app.Application;
import android.content.Context;


/**
 * Created by x on 2016/12/3.
 */

public abstract class BaseApplication extends Application {

    public static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
    }



    public static Context getInstance() {
        return mContext;
    }




    protected abstract boolean toggleCrashHelper();

    protected abstract boolean toggleCustomFonts();

    protected abstract boolean toggleXLogDebug();

    protected abstract String fontPath();

}
